package com.smm.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

public class Comment implements Serializable {
    private Integer id;
    private LocalDateTime date;
    private String content;
    private User user;
    private Song song;


    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", date=" + date +
                ", content='" + content + '\'' +
                ", user=" + user +
                ", song=" + song +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
    public Song getSong() {
        return song;
    }

    public void setSong(Song song) {
        this.song = song;
    }
}
